package zyh.spring;

public class Person {
    private Axe axe;
    public void setAxe(Axe axe){this.axe=axe;}
    public  void useAxe(){
        System.out.println("没柴了");
        System.out.println(axe.chop());
    }
}
